<!--#Include File="connection.asp" -->
<%
'====================================================================
'= Team Elite - Elite Article System
'= Copyright (c) 2005 - 2006 Eason Chan All Rights Reserved.
'=-------------------------------------------------------------------
'= 版权协议：
'=	GPL (The GNU GENERAL PUBLIC LICENSE Version 2, June 1991)
'=-------------------------------------------------------------------
'= 文件名称：UserLoginBar.asp
'= 摘    要：会员登陆区文件
'=-------------------------------------------------------------------
'= 最后更新：eason007
'= 最后日期：2005-11-30
'====================================================================
Dim IsMember,Mem_Info

If Len(Session("UserData"))>0 Then 
	IsMember=True
	Mem_Info=Split(Session("UserData"),",")
	If UBound(Mem_Info)<>5 Then IsMember=False
Else
	IsMember=False
End If
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="zh-CN">
<link href="member/style.css" rel="stylesheet" type="text/css" />
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin=0 topmargin=0>
<%
If Not IsMember Then
%>
<table height="150" border="0" cellpadding="0" cellspacing="0" bordercolor="#111111"> 
  <tr> 
    <td width="168" height="33" align="center" background="Images/Left1.gif"><font color="#FFFFFF">用户登陆</font></td> 
  </tr> 
  <tr> 
    <td width="166" background="Images/Leftbg.gif"><table cellSpacing="0" cellPadding="0" width="100%" border="0"> 
        <form style="margin: 0px" name="login" action="<%=SystemFolder%>member/login.asp?action=login" method="post" target='_top'> 
          <tr> 
            <td align="middle" height="23"> 用户名：
              <input class="LoginInput" size="12" name="UserName"></td> 
          </tr> 
          <tr align="left"> 
            <td align="middle" height="21"> 密　码：
              <input class="LoginInput" type="password" size="12" name="Password"> </td> 
          </tr> 
          <tr align="left"> 
            <td align="center" height="23"><input name="SaveTimes" type="checkbox" id="SaveTimes" value="10"> 
              保存密码 [<a href="#" onclick="window.open('<%=SystemFolder%>member/getpass.asp','','scrollbars=no,width=650,height=150')">忘记密码</a>]</td> 
          </tr> 
          <tr> 
            <td align="center" height="30"><input style="WIDTH: 65px; HEIGHT: 22px" type="image" src="Images/dl.gif" name="image">&nbsp;&nbsp;<a href="<%=SystemFolder%>member/register.asp" target="_blank"><img src="Images/zc.gif" border="0"></a> </td> 
          </tr> 
        </form> 
      </table></td>
  </tr> 
  <tr> 
    <td width="166"><img border="0" src="Images/Leftbottom.gif"></td> 
  </tr> 
</table>
<%
Else
%>
<table height="150" border="0" cellpadding="0" cellspacing="0" bordercolor="#111111"> 
  <tr> 
    <td width="168" height="33" align="center" background="Images/Left1.gif"><font color="#FFFFFF">用户信息</font></td> 
  </tr> 
  <tr> 
    <td width="166" background="Images/Leftbg.gif"><table width="95%" height="80" border="0" align="center" cellpadding="3" cellspacing="0"> 
        <tr> 
          <td>用户名：<%=Mem_Info(1)%></td> 
        </tr> 
        <tr> 
          <td>会员组：<%=Mem_Info(5)%></td> 
        </tr> 
        <tr> 
          <td>[<a href="member/favlist.asp" target="_blank">收藏夹</a>] [<a href="member/changecase.asp" target="_blank">修改资料</a>/<a href="member/changepwd.asp" target="_blank">密码</a>]</td> 
        </tr> 
        <tr> 
          <td>[<a href="member/appear.asp" target="_blank">发布文章</a>] [<a href="member/myappear.asp" target="_blank">我的文集</a>]</td> 
        </tr> 
        <tr> 
          <td align="center">[<a href="member/login.asp?action=logout" target='_top'>注销登陆</a>]</td> 
        </tr> 
      </table> </td> 
  </tr> 
  <tr> 
    <td width="166"> <img border="0" src="Images/Leftbottom.gif"></td> 
  </tr> 
</table> 
<br>
<%
End If
%>